package com.ruoyi.train.service.impl;

import lombok.RequiredArgsConstructor;

import java.util.List;

import org.springframework.stereotype.Service;
import com.ruoyi.train.mapper.JyTrainingSchoolStaffDetailMapper;
import com.ruoyi.train.domain.JyTrainingSchoolStaffDetail;
import com.ruoyi.train.service.IJyTrainingSchoolStaffDetailService;

/**
 * 培训学校员工信息Service业务层处理
 *
 * @author aulbrother
 * @date 2024-04-06
 */
@Service
@RequiredArgsConstructor
public class JyTrainingSchoolStaffDetailServiceImpl implements IJyTrainingSchoolStaffDetailService {
    private final JyTrainingSchoolStaffDetailMapper jyTrainingSchoolStaffDetailMapper;

    /**
     * 查询培训学校员工信息
     *
     * @param id 培训学校员工信息主键
     * @return 培训学校员工信息
     */
    @Override
    public JyTrainingSchoolStaffDetail selectJyTrainingSchoolStaffDetailById(Long id) {
        return jyTrainingSchoolStaffDetailMapper.selectJyTrainingSchoolStaffDetailById(id);
    }

    /**
     * 查询培训学校员工信息列表
     *
     * @param jyTrainingSchoolStaffDetail 培训学校员工信息
     * @return 培训学校员工信息
     */
    @Override
    public List<JyTrainingSchoolStaffDetail> selectJyTrainingSchoolStaffDetailList(JyTrainingSchoolStaffDetail jyTrainingSchoolStaffDetail) {
        return jyTrainingSchoolStaffDetailMapper.selectJyTrainingSchoolStaffDetailList(jyTrainingSchoolStaffDetail);
    }
}
